package com.lfz.quality_effect.model.entity;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考核指标表
 * </p>
 *
 * @author Destiny
 * @since 2023-03-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TIndexItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 考核项目指标id
     */
    @TableId("index_id")
    private BigDecimal indexId;

    /**
     * 业务模块
     */
    @TableField("module")
    private String module;

    /**
     * 指标分类
     */
    @TableField("index_type")
    private String indexType;

    /**
     * 指标名称
     */
    @TableField("index_name")
    private String indexName;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 默认为0：启用  1：禁用
     */
    @TableField("status")
    private Integer status;

    /**
     * 是否上线1：上线   0：未上线
     */
    @TableField("is_online")
    private String isOnline;

    /**
     * 指标分值
     */
    @TableField("index_score")
    private BigDecimal indexScore;


    /**
     * 默认为0：非重点指标  1：重点指标
     */
    private Integer type;

    /**
     * 得分标准
     */
    private String scoreCriteria;

}
